import request from '@/utils/request'

// 查询简单用印列表
export function listJySeal(query) {
  return request({
    url: '/seal/jySeal/list',
    method: 'get',
    params: query
  })
}

// 查询简单用印详细
export function getJySeal(sealId) {
  return request({
    url: '/seal/jySeal/' + sealId,
    method: 'get'
  })
}

// 新增简单用印
export function addJySeal(data) {
  return request({
    url: '/seal/jySeal',
    method: 'post',
    data: data
  })
}

// 修改简单用印
export function updateJySeal(data) {
  return request({
    url: '/seal/jySeal',
    method: 'put',
    data: data
  })
}

// 删除简单用印
export function delJySeal(sealId) {
  return request({
    url: '/seal/jySeal/' + sealId,
    method: 'delete'
  })
}

//查询用户信息
export function querySealType() {
  return request({
    url: '/seal/jySeal/queryUserInfo',
    method: 'get'
  })
}
